#include "defines.h"
#include "kozos.h"

int nicdrv_main(int argc, char *argv[]);
int ntimer_main(int argc, char *argv[]);
int arp_main(int argc, char *argv[]);
int ni_main(int argc, char *argv[]);
int ip_main(int argc, char *argv[]);
int icmp_main(int argc, char *argv[]);
int ping_main(int argc, char *argv[]);

int net_main(int argc, char *argv[])
{
    // 優先度はnet_mainより下にすること
    kz_run(nicdrv_main, "nicdrv", 8, 0x100, 0, NULL);
    kz_run(ntimer_main, "ntimer", 12, 0x100, 0, NULL);
    kz_run(arp_main, "arp", 8, 0x100, 0, NULL);
    kz_run(ni_main, "ni", 8, 0x100, 0, NULL);
    kz_run(ip_main, "ip", 8, 0x100, 0, NULL);
    kz_run(icmp_main, "icmp", 8, 0x100, 0, NULL);
    kz_run(ping_main, "ping", 8, 0x100, 0, NULL);
    
    return 0;
}
